require '../style/page1.css'
angular.module 'app'
.controller 'page1Ctrl',($scope,$http,$state)->
    console.log "page1Ctrl"
    $scope.greet = 'hello'
    console.log $http
    $scope.goPage2 = ->
        console.log 12312312
        $state.go 'page2'
    console.log $scope.goPage2